package homewoek12月22号.demo1.d4;

public class Course {
    private String id;
    private String yd;

    @Override
    public String toString() {
        return "Course{" +
                "id='" + id + '\'' +
                ", yd='" + yd + '\'' +
                '}';
    }

    public Course() {
    }

    public Course(String id, String yd) {
        this.id = id;
        this.yd = yd;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getYd() {
        return yd;
    }

    public void setYd(String yd) {
        this.yd = yd;
    }
}
